<?php
include("system/core/sessions.class.php");
include("system/core/promotion.class.php");
include("system/users/userAccess.class.php");
include("system/db/dbconnect.class.php");
include("system/display/navdisplay.class.php");
include("system/display/genericdisplay.class.php");
include("system/cart/cart.class.php");
$GENDISPLAY = new Genericdisplay();
include("system/display/promodisplay.class.php");
include("system/config/config.php");
//require_once("system/classes/class.phpmailer.php");

$sess = new Session();

$nav = new Navdisplay();
$DISPLAY = new Promodisplay();

$user = new userAccess();
$user->isLoggedIn(1);

include("system/orders/order.class.php");
//$ORDER = new Order();

//$ORDER = unserialize($_SESSION['order']);


$userAccess = new UserAccess();
if ( $_POST['submitted'] == 'submitted') {
$userAccess->login( $_POST['username'], $_POST['password'] );
}

$CART = new Cart();
$CART->addToCart();




?>